/**
 * Project Name:YCApiServer-dao
 * File Name:Draft.java
 * Package Name:com.yc.music.model.draft
 * Date:2016年8月11日下午7:09:42
 * Copyright (c) 2016 
 *
 */
package com.yc.music.model.draft;

import java.util.Date;

import javax.validation.constraints.NotNull;

/**
 * ClassName: Draft <br/>
 * Function: 草稿. <br/>
 * Reason: TODO ADD REASON(可选). <br/>
 * date: 2016年8月11日 下午7:09:42 <br/>
 *
 * @author qinhaiguan
 * @version 
 */
public class Draft {
	
	private int id;
	
	private String title;
	
	private String draftdesc;
	
//	@NotNull(message="{draft.content.empty}")
	private String content;
	
	private Date createtime;
	
//	@NotNull(message="{draft.uid.empty}")
	private int uid;

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public String getContent() {
		return content;
	}

	public void setContent(String content) {
		this.content = content;
	}

	public Date getCreatetime() {
		return createtime;
	}

	public void setCreatetime(Date createtime) {
		this.createtime = createtime;
	}

	public int getUid() {
		return uid;
	}

	public void setUid(int uid) {
		this.uid = uid;
	}

	public String getTitle() {
		return title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public String getDraftdesc() {
		return draftdesc;
	}

	public void setDraftdesc(String draftdesc) {
		this.draftdesc = draftdesc;
	}
	
	
	
}
